package com.link_with_health.mapper;

import com.link_with_health.model.AdminUserEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface AdminMapper {
    List<AdminUserEntity> queryAllAdminUser();
    AdminUserEntity queryAdminUserByAdminName(String adminName);
    AdminUserEntity queryAdminUserById(Integer id);
    List<AdminUserEntity> queryAdminUserByCreator(Integer id);
    int updateAdminUser(AdminUserEntity adminUser);
    int deleteAdminUserById(Integer id);
    int insertAdminUser(AdminUserEntity adminUser);

}
